/**
 * Created by sfr on 2017/10/10.
 */
import React from "react";
import {connect} from "dva";
import { routerRedux } from 'dva/router';
import moment from 'moment';
import {Flex, List, WhiteSpace, Icon} from "antd-mobile";
import styles from './meetingNotice.less'
const empty = require('is-empty');

class meetingNotice extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }
  //==生命周期--页面渲染
  render() {
    return (
      <div className='meetingNotice' style={{backgroundColor: '#eee',padding: '0.1rem 0.3rem 0.3rem 0.3rem'}}>
        {/*第一条 系统消息*/}
        <div>
          {/*系统消息时间*/}
          <div className={styles.taskTimeBox}>
            <span className={styles.taskTime}>9月26日 10:30</span>
          </div>
          {/*系统消息标题*/}
          <Flex justify='start' align='top'>
            <div className={styles.leftIconBox}>
              <Icon type={require('../../../svgs/news/notice.svg')} className={styles.leftIcon}/>
            </div>
            <div style={{width: '100%'}}>
              <div className={styles.leftTitle}>系统消息</div>
              <div className={styles.newsContent}>
                开会啦！
              </div>
            </div>

          </Flex>
        </div>
      </div>
    );
  }
  //==组件所有函数
}

function mapStateToProps({ information }){
  return {
    information
  };
}
export default connect(mapStateToProps)(meetingNotice);
